package com.whmnx.main.ui.model;

import android.app.Application;

import androidx.annotation.NonNull;

import com.whmnx.main.ui.fragment.MyManagementFragment;

import me.goldze.mvvmhabit.base.BaseViewModel;
import me.goldze.mvvmhabit.binding.command.BindingAction;
import me.goldze.mvvmhabit.binding.command.BindingCommand;

/**
 * author : huang
 * date   : 2020/9/27 0027 11:55
 * version: 1.0
 * @author Administrator
 */
public class CenterModel extends BaseViewModel {
    public CenterModel(@NonNull Application application) {
        super(application);
    }


    //我的订单
    public BindingCommand managementOnClickCommand = new BindingCommand(new BindingAction() {
        @Override
        public void call() {
            startContainerActivity(MyManagementFragment.class.getCanonicalName());
            //  ARouter.getInstance().build(RouterFragmentPath.User.MY_GUANLI).navigation();
        }
    });
}
